package cn.kgc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
* 描述：实体类
* @author 
* @date 2018/03/05
*/
public class Jobapplication implements Serializable {

   /**主键id*/
    private Integer id;
   /**用户id*/
    private Integer userid;
   /**用户简历id*/
    private Integer personid;
   /**公司id*/
    private Integer companyid;
   /**职位id*/
    private Integer positionid;
   /**申请日期*/
   @JsonFormat(pattern = "yyyy-MM-dd")
    private Date datetime;
   /**申请状态*/
    private Integer chakan;

    public Jobapplication(){}
    
    public Jobapplication(Integer id,Integer userid,Integer personid,Integer companyid,Integer positionid,Date datetime,Integer chakan){
        this.id = id;
        this.userid = userid;
        this.personid = personid;
        this.companyid = companyid;
        this.positionid = positionid;
        this.datetime = datetime;
        this.chakan = chakan;
    }

   /**获取主键id属性的值*/
    public Integer getId() {
        return this.id;
    }
   /**设置主键id属性的值*/
    public void setId(Integer id) {
        this.id = id;
    }
   /**获取用户id属性的值*/
    public Integer getUserid() {
        return this.userid;
    }
   /**设置用户id属性的值*/
    public void setUserid(Integer userid) {
        this.userid = userid;
    }
   /**获取用户简历id属性的值*/
    public Integer getPersonid() {
        return this.personid;
    }
   /**设置用户简历id属性的值*/
    public void setPersonid(Integer personid) {
        this.personid = personid;
    }
   /**获取公司id属性的值*/
    public Integer getCompanyid() {
        return this.companyid;
    }
   /**设置公司id属性的值*/
    public void setCompanyid(Integer companyid) {
        this.companyid = companyid;
    }
   /**获取职位id属性的值*/
    public Integer getPositionid() {
        return this.positionid;
    }
   /**设置职位id属性的值*/
    public void setPositionid(Integer positionid) {
        this.positionid = positionid;
    }
   /**获取申请日期属性的值*/
    public Date getDatetime() {
        return this.datetime;
    }
   /**设置申请日期属性的值*/
    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }
   /**获取申请状态属性的值*/
    public Integer getChakan() {
        return this.chakan;
    }
   /**设置申请状态属性的值*/
    public void setChakan(Integer chakan) {
        this.chakan = chakan;
    }
}
